-- CALC_EQUIP_8504_PROP

-- 计算猎魔弩系装备的基础属性
-- @param user 玩家对象
-- @param classId 装备对象id
return function(user, classId)
    -- 猎魔人称号等级
    local pet = user:getActivePet();
    if not pet then
        return {};
    end

    local skillLevel = CareerM.getCareerLevel(pet, 205);
    skillLevel  = math.max(1, skillLevel);
    local value = 50 + skillLevel * 50;

    -- 异界之弩
    if classId == 8505 then
        return {{200, "attack", skillLevel, -1,}, {41, 1, value, -1,}, {98, 1, 50, -1,},};
    end

    -- 精灵王之弩
    -- 改动这里的技能id时，同时修改一下prop/equip_damage
    if classId == 8506 then
        return {{200, "attack", skillLevel, -1,}, {41, 1, value, -1,}, {755, 1, 180, -1,},};
    end

    -- 传奇之弩
    if classId == 8507 then
        return {{200, "attack", skillLevel, -1,}, {41, 1, value, -1,}, {753, 5, 181, -1,},};
    end

    return {{200, "attack", skillLevel, -1,}, {41, 1, value, -1,},};
end